package demo.android.com.mvpdemo.mvp3;

import android.util.Log;

import demo.android.com.mvpdemo.R;
import demo.android.com.mvpdemo.mvp3.base.BaseMvpFragment;
import demo.android.com.mvpdemo.mvp3.inject.InjectPresenter;

/**
 * Created by Vya on 2018/1/11 0011.
 */

public class FirstFragment extends BaseMvpFragment implements FragmentContract.UserInfoView {
    @InjectPresenter
    public FragmentShowPresenter fragmentShowPresenter;
    @Override
    protected void initData() {
        fragmentShowPresenter.show("FirstFragment..");
    }

    @Override
    protected void initView() {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.first_fragment;
    }

    @Override
    public void onLoading() {

    }

    @Override
    public void onError() {

    }

    @Override
    public void onSucceed(String userInfo) {
        Log.e("wangyan","FirstFragment onSucceed....   "+userInfo);
    }


}
